package Tools;

/**
 * @author Joker
 * @create 2022-08-26 10:47
 */
public class genderStringToInt {
    public static int genderStringToInt(String gender){
        if(gender.equalsIgnoreCase(""))
            return 1;
        else if(gender.equalsIgnoreCase("?"))
            return 2;
        else {
            System.out.println("???");
            return 0;
        }
    }
}
